<?php
namespace  Mobile\Controller;
use Think\Controller;

class BaseController extends Controller {
    public function __construct()
    {
        parent::__construct();

        if(empty($_SESSION['mobile'])){
            $this->redirect('Default/login');
            exit;
        }
    }

}
